<?php
	$i=0;
	if (isset($breadcrumb)){
		foreach ($breadcrumb as $crumb):
			$n = count($breadcrumb);
?>
			<?php if($i<2){ ?>
			   <a href="<?php echo $this->webroot.$crumb[1];?>"><?php echo $crumb[0];?></a>	
			<?php } 
				
			  else if($i = 2){
				 echo $crumb[0];
				  }

			$i= $i+1;
			if ($i<$n  )
				echo '»';
		endforeach;
	   /* if ($this->params['controller']=="blogs" && $this->params['action']!="index" && $this->Session->check("domain")) {
			$domain = $this->Session->read("domain");
			$blog_id = $this->Session->read("blog_id");
			echo "({$domain} - ID: {$blog_id})";
		} */
	}//end if
	
?>
